[XENSTAT] Ignore domains that are being created/destroyed during get_info call.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 8 Aug 2006 09:36:32 +0000 (10:36 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 8 Aug 2006 09:36:32 +0000 (10:36 +0100)
commit33351e725fe8ac65e7c43308af0c3ca41ef54741
tree02da1e7fc2bedc9c99dcc2444cd030feb9d496cb
parent66ff8f7ce33ce1e3903579ef698a4973319efdf3
[XENSTAT] Ignore domains that are being created/destroyed during get_info call.

Currently, xenstat_get_node exits with a failure and returns NULL if a
VM is deleted between the time the list of VMs is obtained and the time
it attempts to collect information about the VMs. This patch modifies xenstat
to ignore domains that transition during the call.

Signed-off-by: Simon Graham <Simon.Graham@stratus.com>
tools/xenstat/libxenstat/src/xenstat.c